class BaseConstants:
    def __setattr__(self, key, value):
        raise PermissionError("常量不能修改。")
    def __set__(self, instance, value):
        raise PermissionError("常量不能修改。")
    def __setitem__(self, key, value):
        raise PermissionError("常量不能修改。")

class TestcaseConstants(BaseConstants):
    #串行
    SERIAL = 1
    #并行
    PARALLEL = 0


class SystemConstants(BaseConstants):
    # 未删除
    NOT_DEL_FLAG = 0
    # 已删除
    DEL_FLAG = 1


